package com.itcast.java.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 谷粒商城 - 仓储服务 主启动类
 *
 * @author hrz
 */
@EnableFeignClients(basePackages = "com.itcast.java.order.feign")
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(basePackages = "com.itcast.java.order.mapper")
public class GulimallOmsApplication {

    public static void main( String[] args ) {
        SpringApplication.run(GulimallOmsApplication.class, args);
    }

}
